package spring.cloud.eureka.feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import feign.RequestLine;

@FeignClient(name="eureka-client",fallback=EurekaClientCallback.class)
public interface EurekaClient {
	
	@RequestMapping(value="/hi",method = RequestMethod.GET)
	String sayHiFromClientOne(@RequestParam("name") String name);
	
}
